\ProvidesClass{delftproto}
\LoadClass[titlepage,a4paper,leqno,11pt]{article}
\RequirePackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\RequirePackage[dvipsnames]{color}
\RequirePackage[english]{babel}
\RequirePackage{pdfpages}
\RequirePackage{fancyhdr}
\RequirePackage{enumitem}
\RequirePackage{lastpage}
\RequirePackage{listings}
\RequirePackage{tabularx}
\RequirePackage{multirow}
\RequirePackage{graphicx}
\RequirePackage{fancyhdr}
\RequirePackage{rotating}
\RequirePackage{parskip}
\RequirePackage{url}
\RequirePackage[pdfborder={0 0 0}]{hyperref}
\urlstyle{same}
\newcommand\titlefont{\rmfamily\bfseries\color{cyan}}
\renewcommand\maketitle[0]{\hbox to\hsize{\titlefont\Huge\bf\hfil\@title\hfil}\vskip0.5em\hrule\vskip1ex\hbox to\hsize{\hfil\sl\small DelftProto --- \url{http://delftproto.googlecode.com/} \hfil}\vskip2em}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\lfoot{\small\@title{} --- DelftProto --- \url{http://delftproto.googlecode.com/}}
\rfoot{\small Page \thepage{} of \pageref{LastPage}}
\renewcommand\headrulewidth{0pt}
\renewcommand\section{\@startsection{section}{1}{\z@}{-3.5ex \@plus -1ex \@minus -.2ex}{1ex \@plus.2ex}{\titlefont\Huge}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}{-2ex\@plus -1ex \@minus -.2ex}{0.5ex \@plus .2ex}{\titlefont\Large}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2ex\@plus -1ex \@minus -.2ex}{0.3ex \@plus .2ex}{\titlefont\normalsize}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{2ex \@plus1ex \@minus.2ex}{-1em}{\bf\normalsize}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}{2ex \@plus1ex \@minus .2ex}{-1em}{\normalsize}}
\renewcommand\familydefault{\sfdefault}
\setlength\parindent{0pt}
\newcommand\Section[1]{\section*{#1}\addcontentsline{toc}{section}{#1}}
\newcommand\Subsection[1]{\subsection*{#1}\addcontentsline{toc}{subsection}{#1}}
\newcommand\Subsubsection[1]{\subsection*{#1}\addcontentsline{toc}{subsubsection}{#1}}
\lstset{basicstyle=\footnotesize,numbers=left,numberstyle=\footnotesize,tabsize=4,breaklines=true}
\def\underconstruction#1{{\small\color{red}\hfil This part is under construction --- #1\hfil}}
\def\code#1{\texttt{#1}}
\setitemize{label=--, leftmargin=1cm}
\setdescription{labelindent=1cm}
